// +---------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +---------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------

import BasicLayout from '@/components/main';

const pre = 'platform_';

export default {
  path: '/admin/platform',
  name: 'platform',
  header: 'platform',
  redirect: {
    name: `${pre}archives`,
  },
  component: BasicLayout,
  children: [
	// {
	//   path: 'user/list',
	//   name: `${pre}user-list`,
	//   meta: {
	//     auth: ['admin-platform-register'],
	//     title: '用户列表',
	//   },
	//   component: () => import('@/pages/platform/register/index'),
	// },
	{
	  path: 'archives',
	  name: `${pre}archives`,
	  meta: {
	    auth: ['admin-platform-archives'],
	    title: '档案管理',
	  },
	  component: () => import('@/pages/platform/archives/index'),
	}
  ],
};
